package com.lnsf.model;

import java.util.Date;

public class Orderlist {
	public Orderlist() {
		super();
	}

	private int oId;
	private int uId;
	private int shId;
	private int gId;
	private int ordNum;
	private String ordAddress;
	private String ordTel;
	private float ordPrice;
	private String ordStatus;
	private Date ordDate;

	public int getoId() {
		return oId;
	}

	public void setoId(int oId) {
		this.oId = oId;
	}

	public int getuId() {
		return uId;
	}

	public void setuId(int uId) {
		this.uId = uId;
	}

	public int getShId() {
		return shId;
	}

	public void setShId(int shId) {
		this.shId = shId;
	}

	public int getgId() {
		return gId;
	}

	public void setgId(int gId) {
		this.gId = gId;
	}

	public int getOrdNum() {
		return ordNum;
	}

	public void setOrdNum(int ordNum) {
		this.ordNum = ordNum;
	}

	public String getOrdAddress() {
		return ordAddress;
	}

	public void setOrdAddress(String ordAddress) {
		this.ordAddress = ordAddress;
	}

	public String getOrdTel() {
		return ordTel;
	}

	public void setOrdTel(String ordTel) {
		this.ordTel = ordTel;
	}

	public float getOrdPrice() {
		return ordPrice;
	}

	public void setOrdPrice(float ordPrice) {
		this.ordPrice = ordPrice;
	}

	public String getOrdStatus() {
		return ordStatus;
	}

	public void setOrdStatus(String ordStatus) {
		this.ordStatus = ordStatus;
	}

	public Date getOrdDate() {
		return ordDate;
	}

	public void setOrdDate(Date ordDate) {
		this.ordDate = ordDate;
	}

	public Orderlist(int oId, int uId, int shId, int gId, int ordNum, String ordAddress, String ordTel, float ordPrice,
			String ordStatus, Date ordDate) {
		super();
		this.oId = oId;
		this.uId = uId;
		this.shId = shId;
		this.gId = gId;
		this.ordNum = ordNum;
		this.ordAddress = ordAddress;
		this.ordTel = ordTel;
		this.ordPrice = ordPrice;
		this.ordStatus = ordStatus;
		this.ordDate = ordDate;
	}

	@Override
	public String toString() {
		return oId +"\t\t"+  uId +"\t\t"+ shId +"\t"+gId +"\t\t"+ ordNum+"\t\t\t"
				+ ordAddress +"\t"+  ordTel +"\t"+ ordPrice+"\t\t" + ordStatus +"\t\t"+  ordDate;
	}

}
